/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.flowform.form.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.common.utils.StringUtils;
import com.jeeplus.modules.flowform.form.entity.RepairTask;
import com.jeeplus.modules.flowform.form.mapper.RepairTaskMapper;

/**
 * 检修任务承接Service
 * @author 刘明星
 * @version 2020-11-03
 */
@Service
@Transactional(readOnly = true)
public class RepairTaskService extends CrudService<RepairTaskMapper, RepairTask> {


	public RepairTask get(String id) {
		RepairTask repairTask = super.get(id);
		return repairTask;
	}

	public List<RepairTask> findList(RepairTask repairTask) {
		return super.findList(repairTask);
	}

	public Page<RepairTask> findPage(Page<RepairTask> page, RepairTask repairTask) {
		return super.findPage(page, repairTask);
	}

	@Transactional(readOnly = false)
	public void save(RepairTask repairTask) {
		super.save(repairTask);
	}

	@Transactional(readOnly = false)
	public void delete(RepairTask repairTask) {
		super.delete(repairTask);
	}

}